<div id="image">
    <img src="<%= @currentPhotoDetails.url%>" alt="<%= @currentPhotoDetails.title%>" title="<%= @currentPhotoDetails.title%>" class="full"/>
</div>
<div id="description">
    <p> 
        <strong><%= @currentPhotoDetails.title%></strong>
         <br/>
         <%= dateFormat(@currentPhotoDetails.dates[:posted])%>
    </p>
    <p>
        <%= @currentPhotoDetails.description%>
        <br/>
        <br/>
        <%=writeTags(@tags)%>
        <br/>
        <br/>
        <%=writeSocialBookmarks(@currentPhotoDetails.id,@currentPhotoDetails.title)%>
        <br/>
        <br/>
        <%if @context.prev_id !='0'%><%= link_to "Previous", :controller => "gallery", :action => "photos", :id => @context.prev_id %> | <%end%>
        <%if @context.next_id !='0' %><%= link_to "Next", :controller => "gallery", :action => "photos", :id => @context.next_id %> |<%end%>
        <a href="<%=@currentPhotoDetails.urls[:photopage]%>" title="<%= @currentPhotoDetails.title%>" target="_blank">Flickr Page</a>  
    </p>
</div>